1 00:00:00,540 --> 00:00:04,860 I'd say the first thing we're going to do for our shop is make something that looks like a shop that 2 00:00:04,860 --> 00:00:06,490 people will walk up to. 3 00:00:06,510 --> 00:00:08,790 And then I'm going to have them click on a bell. 4 00:00:08,790 --> 00:00:11,550 So I'm going to come over here. 5 00:00:12,350 --> 00:00:15,980 And this is the modified shack I did in the beginning. 6 00:00:16,400 --> 00:00:20,610 I just basically put some stuff on it so it looks a little bit better. 7 00:00:20,630 --> 00:00:23,180 You guys are welcome to build your own. 8 00:00:23,360 --> 00:00:29,480 But if you don't want to and you just want to follow along, I'll put this link in a file called URLs 9 00:00:29,480 --> 00:00:31,920 in the resources tab of this video. 10 00:00:31,940 --> 00:00:33,320 You can click on it. 11 00:00:33,320 --> 00:00:34,250 It'll say shop. 12 00:00:34,250 --> 00:00:42,260 You'll know what it is and then this will be green says Get you, press it, go to your roadblock studio, 13 00:00:42,500 --> 00:00:46,940 open up the toolbox under inventory will have a shack. 14 00:00:46,940 --> 00:00:51,140 And the only thing that's going to make this or a shop, the only thing that's really going to make 15 00:00:51,140 --> 00:00:56,870 this a shop is I'm going to put a click detector on this bell and then a script on it. 16 00:00:56,870 --> 00:01:00,230 And that's going to make it the shop so you can make anything you want. 17 00:01:00,230 --> 00:01:04,760 Just be aware that we're going to click on something that opens it up and you may even want to put a 18 00:01:04,760 --> 00:01:07,430 sign saying Click for service or something like that. 19 00:01:07,970 --> 00:01:13,880 If your pistol is not working and you want to download mine for your store, I'll put this link in the 20 00:01:13,880 --> 00:01:20,390 URLs file that's on the resources and you can download it, but if yours is working, there's still 21 00:01:20,390 --> 00:01:22,250 something that I want to show you. 22 00:01:22,250 --> 00:01:24,890 I have animations on this pistol. 23 00:01:24,890 --> 00:01:30,020 The animations were published under my account, so if you download the pistol, you're not going to 24 00:01:30,020 --> 00:01:32,990 be able to use the animations until you do something. 25 00:01:32,990 --> 00:01:34,220 That's what I want to show you. 26 00:01:34,340 --> 00:01:36,800 Also, we need an image. 27 00:01:36,800 --> 00:01:43,070 Let's do that now because we want our little tool to have the image when we go to put it in our backpack 28 00:01:43,070 --> 00:01:45,950 and we also want the image in our store. 29 00:01:45,950 --> 00:01:50,240 So I'm going to right click, I'll say save image and you can get any image. 30 00:01:50,240 --> 00:01:54,400 You could get one from the from the marketplace if you want. 31 00:01:54,430 --> 00:01:55,670 Let's go ahead and save this off. 32 00:01:55,670 --> 00:01:57,290 I have it under downloads. 33 00:01:58,160 --> 00:01:59,030 There we go. 34 00:01:59,030 --> 00:02:02,270 I did it before, obviously, for the for a practice run. 35 00:02:02,630 --> 00:02:05,690 And let's go ahead and this will be green. 36 00:02:05,720 --> 00:02:06,290 It'll say get. 37 00:02:06,290 --> 00:02:08,540 If you don't have it, press that. 38 00:02:08,540 --> 00:02:10,610 Now you're going to have that in your toolbox. 39 00:02:10,610 --> 00:02:15,770 We're going to go to our roadblocks, go to the toolbox. 40 00:02:15,770 --> 00:02:18,380 There's my pistol, simple pistol. 41 00:02:18,380 --> 00:02:22,760 Version three, Drag that into the workspace. 42 00:02:22,760 --> 00:02:23,690 Let's take a look. 43 00:02:23,690 --> 00:02:25,340 We have our two scripts. 44 00:02:25,880 --> 00:02:27,350 Let's take a look inside here. 45 00:02:27,470 --> 00:02:29,570 Now, I said the animations won't work. 46 00:02:29,570 --> 00:02:32,330 I published it under my account. 47 00:02:32,330 --> 00:02:38,570 That number that I published is in this and kickback animation that the script uses. 48 00:02:38,570 --> 00:02:47,330 So I put the andm saves the keyframes here in this model so that you can publish it under your account. 49 00:02:47,330 --> 00:02:52,270 All you have to do is right click and then saved a row blocks. 50 00:02:52,280 --> 00:02:53,540 There it is. 51 00:02:53,540 --> 00:02:59,090 You submit now you're going to have an ID under your account. 52 00:02:59,090 --> 00:03:03,650 The players in your games can use the pistols and the animations and everything along with it. 53 00:03:03,920 --> 00:03:11,210 Hit the close, go to your kickback animation, control V and paste it. 54 00:03:11,210 --> 00:03:13,310 Now your animations are going to work. 55 00:03:13,310 --> 00:03:18,500 I don't know how much longer roadblocks is going to keep doing that, but as of now they do it. 56 00:03:18,500 --> 00:03:24,790 I always put the animations of my models inside the model so that you could do that if I put it on the 57 00:03:24,830 --> 00:03:26,240 on the marketplace. 58 00:03:26,660 --> 00:03:26,990 All right. 59 00:03:26,990 --> 00:03:28,490 So we need one more thing, right? 60 00:03:28,490 --> 00:03:31,940 We need our little image on our pistol. 61 00:03:31,940 --> 00:03:37,280 So I select my pistol texture ID, so if we pick this up, we're just going to it's just going to say 62 00:03:37,280 --> 00:03:40,430 simple pistol, we need an image. 63 00:03:40,430 --> 00:03:43,250 And I already uploaded it, but this is how you upload it. 64 00:03:43,250 --> 00:03:48,650 You hit add image, choose file, grab your image. 65 00:03:49,810 --> 00:03:50,790 Open. 66 00:03:50,800 --> 00:03:55,030 And then she got a little one because I had more than one and then create. 67 00:03:55,690 --> 00:03:56,700 Now it's in there. 68 00:03:56,710 --> 00:04:00,010 Now, if we pick this thing up, we're going to see it. 69 00:04:00,980 --> 00:04:03,380 I'm going to drag this down to my. 70 00:04:04,180 --> 00:04:07,480 To my starter pack, so don't have to fumble around for it. 71 00:04:07,480 --> 00:04:09,360 I have to in there. 72 00:04:09,370 --> 00:04:11,680 I'm going to delete the I'm going to delete these two. 73 00:04:11,710 --> 00:04:12,340 Don't worry. 74 00:04:12,340 --> 00:04:13,900 I'm going to show you what to do in a minute. 75 00:04:13,930 --> 00:04:16,690 Let's just pick it up though, so we could see the image. 76 00:04:17,230 --> 00:04:19,330 We got the old one here that just has the text. 77 00:04:19,330 --> 00:04:24,650 We've got the new one and mine fires with the kickback, right? 78 00:04:24,910 --> 00:04:28,050 It would have anyway, because even the last one was under my ID. 79 00:04:28,060 --> 00:04:34,090 So if you're doing a game under team create where a bunch of people are programming, if you do the 80 00:04:34,090 --> 00:04:39,610 animation, if you publish it off under a private account and pull it in, you're still going to have 81 00:04:39,610 --> 00:04:42,070 to do this Republishing under team create. 82 00:04:42,070 --> 00:04:43,930 You should just be aware of that. 83 00:04:44,740 --> 00:04:46,900 We'll turn this off now. 84 00:04:46,900 --> 00:04:48,760 I'm going to put this pistol. 85 00:04:48,760 --> 00:04:50,860 This is the one with my image. 86 00:04:51,040 --> 00:04:52,960 But that's okay if I got the wrong one. 87 00:04:52,960 --> 00:04:59,170 We know how to replace it and I put it in replicated storage because I'm going to use it my store and 88 00:04:59,170 --> 00:05:01,330 then I'm going to delete this from my starter pack. 89 00:05:03,310 --> 00:05:03,550 All right. 90 00:05:03,550 --> 00:05:06,190 Last but not least, let's get our fabulous lemon. 91 00:05:06,190 --> 00:05:09,970 It's basically just a tool that's a lemon that you can carry around. 92 00:05:09,970 --> 00:05:11,440 So you're carrying around a lemon. 93 00:05:11,440 --> 00:05:13,720 I just wanted to sell something else in the store. 94 00:05:13,720 --> 00:05:18,880 We're going to start getting into accessories and tools other than just a pistol. 95 00:05:18,880 --> 00:05:21,430 And then we can sell those things in the store, too. 96 00:05:21,460 --> 00:05:27,550 In the meantime, go to your URLs file, get that link right there. 97 00:05:27,550 --> 00:05:32,530 Hit that green, get I'm logged in under an alt just to make sure that it is green. 98 00:05:32,530 --> 00:05:33,430 It says get. 99 00:05:33,490 --> 00:05:37,840 We're going to go to our roadblocks studio go not output. 100 00:05:37,840 --> 00:05:42,010 Go to home toolbox toolbox. 101 00:05:42,010 --> 00:05:42,580 There we go. 102 00:05:42,580 --> 00:05:44,230 And there's the fabulous lemon. 103 00:05:45,200 --> 00:05:45,910 Boom. 104 00:05:45,950 --> 00:05:46,760 Got it. 105 00:05:47,090 --> 00:05:48,110 I'll close this. 106 00:05:48,140 --> 00:05:50,300 I'll close my output window. 107 00:05:50,330 --> 00:05:56,510 I'll take my fabulous lemon and drag it on down to replicated storage, because that's where we're going 108 00:05:56,510 --> 00:05:57,740 to get it to do the selling. 109 00:05:57,740 --> 00:06:00,780 So we have our fabulous lemon, our simple pistol. 110 00:06:00,800 --> 00:06:03,020 The shop is in the workspace. 111 00:06:03,020 --> 00:06:04,070 We're not going to do anything with that. 112 00:06:04,070 --> 00:06:07,670 We're just we're just going to put some code on that that's going to open our store. 113 00:06:08,060 --> 00:06:08,630 All right. 114 00:06:08,630 --> 00:06:11,780 And the next video, we're going to start doing that coding.